// 公告模块
import request from "@/utils/request"

//分页公告
export const getNotice = params =>{
  return request({
    method:'GET',
    url:'/notice/page',
    params
  })
}

//添加公告
export const postAddNotice = data =>{
  return request({
    method:'POST',
    url:'/notice/add',
    data
  })
}

//查询所有公告信息
export const getNoticeInfo = params =>{
  return request({
    method:'GET',
    url:'/notice/info',
    params
  })
}